<!DOCTYPE html>
<html>

<head>
    <title>httpd</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="content-type" content="text/html;charset=utf-8">
    <link rel="stylesheet" href="../css/login.css">
    <link rel="stylesheet" href="../css/common.css">
    <link rel="stylesheet" href="../layui/css/layui.css">
</head>

<body>
    <div class="layui-container" id="login">
        <div class="site-title">
            <fieldset>
                <legend>
                    Sign in
                </legend>
            </fieldset>
        </div>
        <form method="POST" id="login-form" action="/user/login">
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <input type="text" name="name" required lay-verify="required" placeholder="UserName"
                        autocomplete="off" class="layui-input username layui-input-icon">
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-input-block">
                    <input type="password" name="password" required lay-verify="required" placeholder="Password"
                        autocomplete="off" class="layui-input password layui-input-icon">
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-input-block captcha-img">
                    <input type="text" name="captcha" required lay-verify="required" placeholder="Captcha"
                        autocomplete="off" class="layui-input captcha layui-input-icon">
                </div>

                <div class="layui-input-block captcha-img">
                    <input type="button" name="code" id="code">
                </div>

            </div>

            <div class="layui-form-item btn_group">
                <div class="layui-input-block">
                    <button type="button" class="layui-btn" id="login-submit">Login</button>
                </div>
            </div>
        </form>
    </div>

</body>

<script src="../js/jquery-3.3.1.min.js" type="text/javascript"></script>
<script src="../js/bootstrap.min.js" type="text/javascript"></script>
<script src="../js/login.js" type="text/javascript"></script>
</html>
